package edu.univercidade.tcc.sap.model;

public enum BooleanType {
	FALSE(false), TRUE(true);

	private boolean value;

	private BooleanType(boolean value) {
		this.value = value;
	}

	public boolean value() {
		return value;
	}

	public BooleanType set(boolean isTrue) {
		if (isTrue) {
			return TRUE;
		}
		return FALSE;
	}
}
